
































  
  


  

  
  	
  

  

	
	

	
	
	
	
	




  
















	
	
	
	
	
	
	
	
	
	
  
  


	


	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	




    
  






  
    
  




	
	
	
	
	



<!--NewPage-->
<HTML>

<!-- Mirrored from delerium:8503/cfcdoc/content.cfm?file=C%3A%5CInetpub%5Cwwwroot%5Ctransfer%2Droot%5Ctransfer%5Ccom%5Ctql%5CSelectStatement%2Ecfc by HTTrack Website Copier/3.x [XR&CO'2006], Sat, 07 Apr 2007 03:17:40 GMT -->
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=UTF-8"><!-- /Added by HTTrack -->
<HEAD>

<!-- Generated by CFDoc on 07-Apr-2007 01:17 PM -->

<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
</HEAD>
<BODY>


	



<HR>
<!-- ======== START OF CLASS DATA ======== -->

<div style="float:left;">

<a href="default.html" style="float: right;">Documentation home page</a>
</div>
<H2>
<span style="font-size: smaller">
<a href="componentsd9bf.html" target="components">transfer.com.tql</a>
</span>
<BR>
Component SelectStatement</H2>


<PRE>
<B>transfer.com.tql.SelectStatement</B>
</PRE>


<HR>
Evaluates select statements


<HR>

<P>


<!-- ========== PROPERTY SUMMARY =========== -->

<A NAME="property_summary"><!-- --></A>






<!-- ========== METHOD SUMMARY =========== -->




<A NAME="method_summary"><!-- --></A>

<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">

<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>











	





	





	





	





	





	





	





	





	





	





	





	





	





	





	





	





	





	





	





	





	





	





	



	<TR BGCOLOR="eeeeff" CLASS="TableRowColorConstructor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>public <a href="content2760.html" target="_self">SelectStatement</a></CODE></TD>
	<TD><CODE><B><A HREF="#init()">init</A></B>(<a href="content190a.html">TQLParser</a> tqlParser,&nbsp;<a href="content7dd0.html">ObjectManager</a> objectManager,&nbsp;<a href="content2efb.html">Datasource</a> datasource)</CODE>
	
		<BR>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor
	</TD>
	</TR>
	

	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="nativetypes.html#detail_struct" target="_self">struct</a></CODE></TD>
	<TD><CODE><B><A HREF="#evaluateAliasMapFromAST()">evaluateAliasMapFromAST</A></B>(<a href="nativetypes.html#detail_any">any</a> tree,&nbsp;[<a href="nativetypes.html#detail_struct">struct</a> aliasMap="#StructNew()#"])</CODE>
	
		<BR>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;walks the tree, and makes a struct of the aliases back to the Objects
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>public <a href="nativetypes.html#detail_array" target="_self">array</a></CODE></TD>
	<TD><CODE><B><A HREF="#evaluateSelectStatement()">evaluateSelectStatement</A></B>(<a href="nativetypes.html#detail_any">any</a> tree,&nbsp;<a href="nativetypes.html#detail_array">array</a> evaluation,&nbsp;<a href="nativetypes.html#detail_any">any</a> buffer,&nbsp;<a href="nativetypes.html#detail_boolean">boolean</a> aliasColumns,&nbsp;<a href="nativetypes.html#detail_boolean">boolean</a> distinctMode,&nbsp;[<a href="nativetypes.html#detail_boolean">boolean</a> onlyRetrievePrimaryKey="false"],&nbsp;[<a href="nativetypes.html#detail_string">string</a> className=""])</CODE>
	
		<BR>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Evaluates all sorts of select statements
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="nativetypes.html#detail_array" target="_self">array</a></CODE></TD>
	<TD><CODE><B><A HREF="#evaluateTopLevelAST()">evaluateTopLevelAST</A></B>(<a href="nativetypes.html#detail_any">any</a> tree,&nbsp;<a href="nativetypes.html#detail_struct">struct</a> aliasMap,&nbsp;<a href="nativetypes.html#detail_array">array</a> evaluation,&nbsp;<a href="nativetypes.html#detail_any">any</a> buffer,&nbsp;<a href="nativetypes.html#detail_boolean">boolean</a> aliasColumns,&nbsp;<a href="nativetypes.html#detail_boolean">boolean</a> distinctMode)</CODE>
	
		<BR>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Loops around the AST resolving the top level
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="nativetypes.html#detail_query" target="_self">query</a></CODE></TD>
	<TD><CODE><B><A HREF="#executeEvaluation()">executeEvaluation</A></B>(<a href="content79a0.html">Query</a> query,&nbsp;<a href="nativetypes.html#detail_array">array</a> evaluation)</CODE>
	
		<BR>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;execute the evaluations query structure
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="content2efb.html" target="_self">Datasource</a></CODE></TD>
	<TD><CODE><B><A HREF="#getDatasource()">getDatasource</A></B>()</CODE>
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="content3c26.html" target="_self">EvaluationCache</a></CODE></TD>
	<TD><CODE><B><A HREF="#getEvaluationCache()">getEvaluationCache</A></B>()</CODE>
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="content6876.html" target="_self">From</a></CODE></TD>
	<TD><CODE><B><A HREF="#getFrom()">getFrom</A></B>()</CODE>
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="content7dd0.html" target="_self">ObjectManager</a></CODE></TD>
	<TD><CODE><B><A HREF="#getObjectManager()">getObjectManager</A></B>()</CODE>
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="contentf10c.html" target="_self">OrderBy</a></CODE></TD>
	<TD><CODE><B><A HREF="#getOrderBy()">getOrderBy</A></B>()</CODE>
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="content38c2.html" target="_self">SelectColumn</a></CODE></TD>
	<TD><CODE><B><A HREF="#getSelectColumn()">getSelectColumn</A></B>()</CODE>
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="content190a.html" target="_self">TQLParser</a></CODE></TD>
	<TD><CODE><B><A HREF="#getTQLParser()">getTQLParser</A></B>()</CODE>
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="content3c61.html" target="_self">Where</a></CODE></TD>
	<TD><CODE><B><A HREF="#getWhere()">getWhere</A></B>()</CODE>
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>public <a href="nativetypes.html#detail_query" target="_self">query</a></CODE></TD>
	<TD><CODE><B><A HREF="#selectStatement()">selectStatement</A></B>(<a href="content79a0.html">Query</a> query,&nbsp;<a href="nativetypes.html#detail_boolean">boolean</a> onlyRetrievePrimaryKey,&nbsp;[<a href="nativetypes.html#detail_string">string</a> className=""])</CODE>
	
		<BR>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;returns a query from a TQL Select statement
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="nativetypes.html#detail_void" target="_self">void</a></CODE></TD>
	<TD><CODE><B><A HREF="#setDatasource()">setDatasource</A></B>(<a href="content2efb.html">Datasource</a> Datasource)</CODE>
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="nativetypes.html#detail_void" target="_self">void</a></CODE></TD>
	<TD><CODE><B><A HREF="#setEvaluationCache()">setEvaluationCache</A></B>(<a href="content3c26.html">EvaluationCache</a> EvaluationCache)</CODE>
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="nativetypes.html#detail_void" target="_self">void</a></CODE></TD>
	<TD><CODE><B><A HREF="#setFrom()">setFrom</A></B>(<a href="content6876.html">From</a> From)</CODE>
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="nativetypes.html#detail_void" target="_self">void</a></CODE></TD>
	<TD><CODE><B><A HREF="#setObjectManager()">setObjectManager</A></B>(<a href="content7dd0.html">ObjectManager</a> ObjectManager)</CODE>
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="nativetypes.html#detail_void" target="_self">void</a></CODE></TD>
	<TD><CODE><B><A HREF="#setOrderBy()">setOrderBy</A></B>(<a href="contentf10c.html">OrderBy</a> OrderBy)</CODE>
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="nativetypes.html#detail_void" target="_self">void</a></CODE></TD>
	<TD><CODE><B><A HREF="#setSelectColumn()">setSelectColumn</A></B>(<a href="content38c2.html">SelectColumn</a> SelectColumn)</CODE>
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="nativetypes.html#detail_void" target="_self">void</a></CODE></TD>
	<TD><CODE><B><A HREF="#setTQLParser()">setTQLParser</A></B>(<a href="content190a.html">TQLParser</a> TQLParser)</CODE>
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="nativetypes.html#detail_void" target="_self">void</a></CODE></TD>
	<TD><CODE><B><A HREF="#setWhere()">setWhere</A></B>(<a href="content3c61.html">Where</a> Where)</CODE>
	
	
	</TD>
	</TR>
	
	<TR BGCOLOR="white" CLASS="TableRowColor">
	<TD ALIGN="right" VALIGN="top" WIDTH="1%">
	<CODE>private <a href="nativetypes.html#detail_any" target="_self">any</a></CODE></TD>
	<TD><CODE><B><A HREF="#throw()">throw</A></B>(<a href="nativetypes.html#detail_string">string</a> type,&nbsp;<a href="nativetypes.html#detail_string">string</a> message,&nbsp;[<a href="nativetypes.html#detail_string">string</a> detail=""])</CODE>
	
		<BR>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Throws an Exception
	
	
	</TD>
	</TR>
	
</TABLE>



&nbsp;
<P>



<!-- ============ METHOD DETAIL ========== -->


<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>












<A NAME="evaluateAliasMapFromAST()"><!-- --></A><H3>
evaluateAliasMapFromAST</H3>

<PRE>
private <A HREF="nativetypes.html#detail_struct" title="">struct</A> <B>evaluateAliasMapFromAST</B>(<a href="nativetypes.html#detail_any">any</a> tree,&nbsp;[<a href="nativetypes.html#detail_struct">struct</a> aliasMap="#StructNew()#"])</PRE>
<DL>
  <DD>
  	
  	
		walks the tree, and makes a struct of the aliases back to the Objects
	    <P>
	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="nativetypes.html#detail_any">any</a> tree</code> - The tree node to walk</DD>
			
			  <DD><code>[<a href="nativetypes.html#detail_struct">struct</a> aliasMap="#StructNew()#"]</code> - The array of from evaluated values</DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="evaluateSelectStatement()"><!-- --></A><H3>
evaluateSelectStatement</H3>

<PRE>
public <A HREF="nativetypes.html#detail_array" title="">array</A> <B>evaluateSelectStatement</B>(<a href="nativetypes.html#detail_any">any</a> tree,&nbsp;<a href="nativetypes.html#detail_array">array</a> evaluation,&nbsp;<a href="nativetypes.html#detail_any">any</a> buffer,&nbsp;<a href="nativetypes.html#detail_boolean">boolean</a> aliasColumns,&nbsp;<a href="nativetypes.html#detail_boolean">boolean</a> distinctMode,&nbsp;[<a href="nativetypes.html#detail_boolean">boolean</a> onlyRetrievePrimaryKey="false"],&nbsp;[<a href="nativetypes.html#detail_string">string</a> className=""])</PRE>
<DL>
  <DD>
  	
  	
		Evaluates all sorts of select statements
	    <P>
	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="nativetypes.html#detail_any">any</a> tree</code> - The tree node to walk</DD>
			
			  <DD><code><a href="nativetypes.html#detail_array">array</a> evaluation</code> - The array of evaluated values</DD>
			
			  <DD><code><a href="nativetypes.html#detail_any">any</a> buffer</code> - java.lang.StringBuffer for preSQL building</DD>
			
			  <DD><code><a href="nativetypes.html#detail_boolean">boolean</a> aliasColumns</code> - to alias columns or not</DD>
			
			  <DD><code><a href="nativetypes.html#detail_boolean">boolean</a> distinctMode</code> - If to make the select distinct or not</DD>
			
			  <DD><code>[<a href="nativetypes.html#detail_boolean">boolean</a> onlyRetrievePrimaryKey="false"]</code> - Only retrieve primary keys on FROM statement</DD>
			
			  <DD><code>[<a href="nativetypes.html#detail_string">string</a> className=""]</code> - The class to retrieve the primary key from</DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="evaluateTopLevelAST()"><!-- --></A><H3>
evaluateTopLevelAST</H3>

<PRE>
private <A HREF="nativetypes.html#detail_array" title="">array</A> <B>evaluateTopLevelAST</B>(<a href="nativetypes.html#detail_any">any</a> tree,&nbsp;<a href="nativetypes.html#detail_struct">struct</a> aliasMap,&nbsp;<a href="nativetypes.html#detail_array">array</a> evaluation,&nbsp;<a href="nativetypes.html#detail_any">any</a> buffer,&nbsp;<a href="nativetypes.html#detail_boolean">boolean</a> aliasColumns,&nbsp;<a href="nativetypes.html#detail_boolean">boolean</a> distinctMode)</PRE>
<DL>
  <DD>
  	
  	
		Loops around the AST resolving the top level
	    <P>
	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="nativetypes.html#detail_any">any</a> tree</code> - The tree node to walk</DD>
			
			  <DD><code><a href="nativetypes.html#detail_struct">struct</a> aliasMap</code> - The from map</DD>
			
			  <DD><code><a href="nativetypes.html#detail_array">array</a> evaluation</code> - The array of evaluated values</DD>
			
			  <DD><code><a href="nativetypes.html#detail_any">any</a> buffer</code> - java.lang.StringBuffer for preSQL building</DD>
			
			  <DD><code><a href="nativetypes.html#detail_boolean">boolean</a> aliasColumns</code> - to alias columns or not</DD>
			
			  <DD><code><a href="nativetypes.html#detail_boolean">boolean</a> distinctMode</code> - If to make the select distinct or not</DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="executeEvaluation()"><!-- --></A><H3>
executeEvaluation</H3>

<PRE>
private <A HREF="nativetypes.html#detail_query" title="">query</A> <B>executeEvaluation</B>(<a href="content79a0.html">Query</a> query,&nbsp;<a href="nativetypes.html#detail_array">array</a> evaluation)</PRE>
<DL>
  <DD>
  	
  	
		execute the evaluations query structure
	    <P>
	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="content79a0.html">Query</a> query</code> - The TQL query object</DD>
			
			  <DD><code><a href="nativetypes.html#detail_array">array</a> evaluation</code> - The array of evaluated values</DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="getDatasource()"><!-- --></A><H3>
getDatasource</H3>

<PRE>
private <A HREF="content2efb.html" title="">transfer.com.sql.Datasource</A> <B>getDatasource</B>()</PRE>
<DL>
  <DD>
  	
  	
	
	
    
  </DD>
</DL>
<HR>




<A NAME="getEvaluationCache()"><!-- --></A><H3>
getEvaluationCache</H3>

<PRE>
private <A HREF="content3c26.html" title="">transfer.com.tql.collections.EvaluationCache</A> <B>getEvaluationCache</B>()</PRE>
<DL>
  <DD>
  	
  	
	
	
    
  </DD>
</DL>
<HR>




<A NAME="getFrom()"><!-- --></A><H3>
getFrom</H3>

<PRE>
private <A HREF="content6876.html" title="">transfer.com.tql.walkers.From</A> <B>getFrom</B>()</PRE>
<DL>
  <DD>
  	
  	
	
	
    
  </DD>
</DL>
<HR>




<A NAME="getObjectManager()"><!-- --></A><H3>
getObjectManager</H3>

<PRE>
private <A HREF="content7dd0.html" title="">transfer.com.object.ObjectManager</A> <B>getObjectManager</B>()</PRE>
<DL>
  <DD>
  	
  	
	
	
    
  </DD>
</DL>
<HR>




<A NAME="getOrderBy()"><!-- --></A><H3>
getOrderBy</H3>

<PRE>
private <A HREF="contentf10c.html" title="">transfer.com.tql.walkers.OrderBy</A> <B>getOrderBy</B>()</PRE>
<DL>
  <DD>
  	
  	
	
	
    
  </DD>
</DL>
<HR>




<A NAME="getSelectColumn()"><!-- --></A><H3>
getSelectColumn</H3>

<PRE>
private <A HREF="content38c2.html" title="">transfer.com.tql.walkers.SelectColumn</A> <B>getSelectColumn</B>()</PRE>
<DL>
  <DD>
  	
  	
	
	
    
  </DD>
</DL>
<HR>




<A NAME="getTQLParser()"><!-- --></A><H3>
getTQLParser</H3>

<PRE>
private <A HREF="content190a.html" title="">TQLParser</A> <B>getTQLParser</B>()</PRE>
<DL>
  <DD>
  	
  	
	
	
    
  </DD>
</DL>
<HR>




<A NAME="getWhere()"><!-- --></A><H3>
getWhere</H3>

<PRE>
private <A HREF="content3c61.html" title="">transfer.com.tql.walkers.Where</A> <B>getWhere</B>()</PRE>
<DL>
  <DD>
  	
  	
	
	
    
  </DD>
</DL>
<HR>




<A NAME="init()"><!-- --></A><H3>
init</H3>

<PRE>
public <A HREF="content2760.html" title="">SelectStatement</A> <B>init</B>(<a href="content190a.html">TQLParser</a> tqlParser,&nbsp;<a href="content7dd0.html">ObjectManager</a> objectManager,&nbsp;<a href="content2efb.html">Datasource</a> datasource)</PRE>
<DL>
  <DD>
  	
  	
		Constructor
	    <P>
	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="content190a.html">TQLParser</a> tqlParser</code> - The tqlParser to generate the AST for the TQL</DD>
			
			  <DD><code><a href="content7dd0.html">ObjectManager</a> objectManager</code> - The object manager to query</DD>
			
			  <DD><code><a href="content2efb.html">Datasource</a> datasource</code> - The datasource BO</DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="selectStatement()"><!-- --></A><H3>
selectStatement</H3>

<PRE>
public <A HREF="nativetypes.html#detail_query" title="">query</A> <B>selectStatement</B>(<a href="content79a0.html">Query</a> query,&nbsp;<a href="nativetypes.html#detail_boolean">boolean</a> onlyRetrievePrimaryKey,&nbsp;[<a href="nativetypes.html#detail_string">string</a> className=""])</PRE>
<DL>
  <DD>
  	
  	
		returns a query from a TQL Select statement
	    <P>
	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="content79a0.html">Query</a> query</code> - The TQL query object</DD>
			
			  <DD><code><a href="nativetypes.html#detail_boolean">boolean</a> onlyRetrievePrimaryKey</code> - Only retrieve primary keys on FROM statement</DD>
			
			  <DD><code>[<a href="nativetypes.html#detail_string">string</a> className=""]</code> - The class to retrieve the primary key from</DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="setDatasource()"><!-- --></A><H3>
setDatasource</H3>

<PRE>
private <A HREF="nativetypes.html#detail_void" title="">void</A> <B>setDatasource</B>(<a href="content2efb.html">Datasource</a> Datasource)</PRE>
<DL>
  <DD>
  	
  	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="content2efb.html">Datasource</a> Datasource</code></DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="setEvaluationCache()"><!-- --></A><H3>
setEvaluationCache</H3>

<PRE>
private <A HREF="nativetypes.html#detail_void" title="">void</A> <B>setEvaluationCache</B>(<a href="content3c26.html">EvaluationCache</a> EvaluationCache)</PRE>
<DL>
  <DD>
  	
  	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="content3c26.html">EvaluationCache</a> EvaluationCache</code></DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="setFrom()"><!-- --></A><H3>
setFrom</H3>

<PRE>
private <A HREF="nativetypes.html#detail_void" title="">void</A> <B>setFrom</B>(<a href="content6876.html">From</a> From)</PRE>
<DL>
  <DD>
  	
  	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="content6876.html">From</a> From</code></DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="setObjectManager()"><!-- --></A><H3>
setObjectManager</H3>

<PRE>
private <A HREF="nativetypes.html#detail_void" title="">void</A> <B>setObjectManager</B>(<a href="content7dd0.html">ObjectManager</a> ObjectManager)</PRE>
<DL>
  <DD>
  	
  	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="content7dd0.html">ObjectManager</a> ObjectManager</code></DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="setOrderBy()"><!-- --></A><H3>
setOrderBy</H3>

<PRE>
private <A HREF="nativetypes.html#detail_void" title="">void</A> <B>setOrderBy</B>(<a href="contentf10c.html">OrderBy</a> OrderBy)</PRE>
<DL>
  <DD>
  	
  	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="contentf10c.html">OrderBy</a> OrderBy</code></DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="setSelectColumn()"><!-- --></A><H3>
setSelectColumn</H3>

<PRE>
private <A HREF="nativetypes.html#detail_void" title="">void</A> <B>setSelectColumn</B>(<a href="content38c2.html">SelectColumn</a> SelectColumn)</PRE>
<DL>
  <DD>
  	
  	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="content38c2.html">SelectColumn</a> SelectColumn</code></DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="setTQLParser()"><!-- --></A><H3>
setTQLParser</H3>

<PRE>
private <A HREF="nativetypes.html#detail_void" title="">void</A> <B>setTQLParser</B>(<a href="content190a.html">TQLParser</a> TQLParser)</PRE>
<DL>
  <DD>
  	
  	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="content190a.html">TQLParser</a> TQLParser</code></DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="setWhere()"><!-- --></A><H3>
setWhere</H3>

<PRE>
private <A HREF="nativetypes.html#detail_void" title="">void</A> <B>setWhere</B>(<a href="content3c61.html">Where</a> Where)</PRE>
<DL>
  <DD>
  	
  	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="content3c61.html">Where</a> Where</code></DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>




<A NAME="throw()"><!-- --></A><H3>
throw</H3>

<PRE>
private <A HREF="nativetypes.html#detail_any" title="">any</A> <B>throw</B>(<a href="nativetypes.html#detail_string">string</a> type,&nbsp;<a href="nativetypes.html#detail_string">string</a> message,&nbsp;[<a href="nativetypes.html#detail_string">string</a> detail=""])</PRE>
<DL>
  <DD>
  	
  	
		Throws an Exception
	    <P>
	
	
		<DL>
		  <DT><B>Parameters:</B></DT>
			
			  <DD><code><a href="nativetypes.html#detail_string">string</a> type</code> - The type of exception</DD>
			
			  <DD><code><a href="nativetypes.html#detail_string">string</a> message</code> - The message to accompany the exception</DD>
			
			  <DD><code>[<a href="nativetypes.html#detail_string">string</a> detail=""]</code> - The detail message for the exception</DD>
			
		</DL>
	
	
    
  </DD>
</DL>
<HR>







</BODY>

<!-- Mirrored from delerium:8503/cfcdoc/content.cfm?file=C%3A%5CInetpub%5Cwwwroot%5Ctransfer%2Droot%5Ctransfer%5Ccom%5Ctql%5CSelectStatement%2Ecfc by HTTrack Website Copier/3.x [XR&CO'2006], Sat, 07 Apr 2007 03:17:40 GMT -->
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=UTF-8"><!-- /Added by HTTrack -->
</HTML>